import {watch,ref } from "vue";

export function a() {
  const number = ref(0)
  const numberTwo = ref(0)
  watch(number,(item)=>{
    numberTwo.value = number.value + 100
  })
  setInterval(()=>{
    number.value++
  },1000)
  return {
    number,
    numberTwo
  }
}